/* About Section Styles */

.about-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

/* Content Wrapper - Two Columns */
.about-content-wrapper {
    display: flex;
    align-items: stretch;
    gap: 5rem;
    flex-direction: row-reverse;
}

/* Lottie Animation - Right Side */
.about-lottie {
    flex: 0 0 450px;
    max-width: 450px;
    margin-left: 3rem;
}

#about-lottie-animation {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* About List - Right Side */
.about-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.6s ease forwards;
    animation-delay: var(--delay);
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Icon */
.about-item-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-item-icon i {
    font-size: 1.25rem;
    color: #fff;
}

.about-item-icon.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.about-item-icon.amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.about-item-icon.green {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.about-item:hover .about-item-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Content */
.about-item-content {
    flex: 1;
}

.about-item-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.5rem 0;
}

.about-item-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Clouds Animation */
.about-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.about-clouds .cloud {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 240, 240, 0.7) 100%);
    border-radius: 100px;
    filter: blur(2px);
    opacity: 0.5;
}

.about-clouds .cloud::before,
.about-clouds .cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.about-clouds .cloud-1 {
    width: 180px;
    height: 55px;
    top: 5%;
    right: -220px;
    animation: cloudMoveRTL 22s linear infinite;
}
.about-clouds .cloud-1::before { width: 70px; height: 70px; top: -35px; left: 25px; }
.about-clouds .cloud-1::after { width: 55px; height: 55px; top: -28px; left: 80px; }

.about-clouds .cloud-2 {
    width: 140px;
    height: 42px;
    top: 15%;
    right: -180px;
    animation: cloudMoveRTL 26s linear infinite;
    animation-delay: -4s;
}
.about-clouds .cloud-2::before { width: 55px; height: 55px; top: -28px; left: 18px; }
.about-clouds .cloud-2::after { width: 42px; height: 42px; top: -21px; left: 65px; }

.about-clouds .cloud-3 {
    width: 160px;
    height: 48px;
    top: 30%;
    right: -200px;
    animation: cloudMoveRTL 20s linear infinite;
    animation-delay: -8s;
}
.about-clouds .cloud-3::before { width: 62px; height: 62px; top: -31px; left: 22px; }
.about-clouds .cloud-3::after { width: 48px; height: 48px; top: -24px; left: 75px; }

.about-clouds .cloud-4 {
    width: 130px;
    height: 40px;
    top: 45%;
    right: -170px;
    animation: cloudMoveRTL 28s linear infinite;
    animation-delay: -12s;
}
.about-clouds .cloud-4::before { width: 52px; height: 52px; top: -26px; left: 16px; }
.about-clouds .cloud-4::after { width: 40px; height: 40px; top: -20px; left: 60px; }

.about-clouds .cloud-5 {
    width: 170px;
    height: 52px;
    top: 55%;
    right: -210px;
    animation: cloudMoveRTL 24s linear infinite;
    animation-delay: -16s;
}
.about-clouds .cloud-5::before { width: 68px; height: 68px; top: -34px; left: 24px; }
.about-clouds .cloud-5::after { width: 52px; height: 52px; top: -26px; left: 78px; }

.about-clouds .cloud-6 {
    width: 150px;
    height: 45px;
    top: 70%;
    right: -190px;
    animation: cloudMoveRTL 21s linear infinite;
    animation-delay: -6s;
}
.about-clouds .cloud-6::before { width: 58px; height: 58px; top: -29px; left: 20px; }
.about-clouds .cloud-6::after { width: 45px; height: 45px; top: -22px; left: 70px; }

.about-clouds .cloud-7 {
    width: 120px;
    height: 36px;
    top: 82%;
    right: -160px;
    animation: cloudMoveRTL 27s linear infinite;
    animation-delay: -10s;
}
.about-clouds .cloud-7::before { width: 48px; height: 48px; top: -24px; left: 14px; }
.about-clouds .cloud-7::after { width: 36px; height: 36px; top: -18px; left: 55px; }

.about-clouds .cloud-8 {
    width: 190px;
    height: 58px;
    top: 92%;
    right: -230px;
    animation: cloudMoveRTL 23s linear infinite;
    animation-delay: -14s;
}
.about-clouds .cloud-8::before { width: 75px; height: 75px; top: -38px; left: 28px; }
.about-clouds .cloud-8::after { width: 58px; height: 58px; top: -29px; left: 88px; }

@keyframes cloudMoveRTL {
    0% { right: -250px; }
    100% { right: 100%; }
}

/* Sparkles Animation */
.about-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.about-sparkles .sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #ffd700 0%, #ffec8b 50%, transparent 70%);
    border-radius: 50%;
    animation: sparkleAbout 2.5s ease-in-out infinite;
    box-shadow: 0 0 12px #ffd700, 0 0 24px #ffd700, 0 0 36px #ffec8b;
}

.about-sparkles .sparkle-1 { top: 5%; left: 3%; animation-delay: 0s; }
.about-sparkles .sparkle-2 { top: 12%; right: 8%; animation-delay: 0.2s; }
.about-sparkles .sparkle-3 { top: 20%; left: 12%; animation-delay: 0.4s; }
.about-sparkles .sparkle-4 { top: 28%; right: 3%; animation-delay: 0.6s; }
.about-sparkles .sparkle-5 { top: 38%; left: 6%; animation-delay: 0.8s; }
.about-sparkles .sparkle-6 { top: 48%; right: 10%; animation-delay: 1s; }
.about-sparkles .sparkle-7 { top: 58%; left: 2%; animation-delay: 1.2s; }
.about-sparkles .sparkle-8 { top: 68%; right: 5%; animation-delay: 1.4s; }
.about-sparkles .sparkle-9 { top: 78%; left: 10%; animation-delay: 1.6s; }
.about-sparkles .sparkle-10 { top: 85%; right: 12%; animation-delay: 1.8s; }
.about-sparkles .sparkle-11 { top: 92%; left: 5%; animation-delay: 2s; }
.about-sparkles .sparkle-12 { top: 95%; right: 2%; animation-delay: 2.2s; }

@keyframes sparkleAbout {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .about-content-wrapper {
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
    }
    
    .about-lottie {
        flex: none;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        order: -1;
    }
    
    #about-lottie-animation {
        height: 320px;
        min-height: auto;
    }
    
    .about-list {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-lottie {
        max-width: 320px;
    }
    
    #about-lottie-animation {
        height: 300px;
    }
    
    .about-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .about-item-icon {
        width: 60px;
        height: 60px;
    }
    
    .about-item-icon i {
        font-size: 1.5rem;
    }
    
    .about-clouds .cloud { display: none; }
    .about-sparkles .sparkle { width: 8px; height: 8px; }
}

@media (max-width: 480px) {
    .about-container {
        padding: 0 1rem;
    }
    
    .about-title {
        font-size: 1.6rem;
    }
    
    .about-lottie {
        max-width: 280px;
    }
    
    #about-lottie-animation {
        height: 260px;
    }
    
    .about-item-title {
        font-size: 1.05rem;
    }
    
    .about-item-text {
        font-size: 0.85rem;
    }
}

/* ===================================
   LTR (Left-to-Right) Styles
   =================================== */



html[dir="ltr"] .about-lottie {
    margin-left: 0;
    margin-right: 3rem;
}

html[dir="ltr"] .about-item {
    transform: translateX(-30px);
    animation-name: slideInLeft;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* LTR Clouds Animation */
html[dir="ltr"] .about-clouds .cloud-1,
html[dir="ltr"] .about-clouds .cloud-2,
html[dir="ltr"] .about-clouds .cloud-3,
html[dir="ltr"] .about-clouds .cloud-4,
html[dir="ltr"] .about-clouds .cloud-5,
html[dir="ltr"] .about-clouds .cloud-6,
html[dir="ltr"] .about-clouds .cloud-7,
html[dir="ltr"] .about-clouds .cloud-8 {
    right: auto;
    left: -250px;
    animation-name: cloudMoveLTR;
}

@keyframes cloudMoveLTR {
    0% { left: -250px; }
    100% { left: 100%; }
}

@media (max-width: 992px) {
    html[dir="ltr"] .about-lottie {
        margin-right: 0;
    }
}
